package org.lisa.crm.service;

import org.lisa.crm.common.util.Result;
import org.lisa.crm.model.Customer;
import org.lisa.crm.model.CustomerOrder;
import org.lisa.crm.model.DataDic;

import java.util.List;
import java.util.Map;

/**
 * Created by admin on 2018/1/15.
 */
public interface CustomerService {

    public List<Customer> queryAllCustomers();

    public Map<String,Object> queryCustomersByParams(Customer customer);

    public Result saveCustomer(Customer customer);

    public Result updateCustomer(Customer customer);

    public Result deleteCustomer(int id);

    public List<DataDic> queryDataDicValueByDataDicName(String dataDicName);

    public Customer queryCusBycId(int id);

}
